<script>
	import $version from "@/utils/versionUpdate.js"
	export default {
		onLaunch() {
			console.log('App Launch')
			// #ifdef H5
			var script = document.createElement('script');
			script.src = "https://res.wx.qq.com/open/js/jweixin-1.4.0.js";
			script.type = 'text/javascript';
			document.body.appendChild(script);
			// #endif	
		},
		onShow: function() {
			// 版本热更新
			// $version.getversion()
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	// 常用样式
	@import url('./common/common.css');
	body{
		// background-image: linear-gradient(to right,#B8311C,#D45836,#B8311C);
		background-color: #f4f4f4;
	}
</style>
